QPalette{background:#E0E0E0 ;}*{outline:0px;color:#000;}


QWidget[form="true"],QLabel[frameShape="1"]{
border:1px solid #FEFEFE;
border-radius:0px;
}

QWidget[form="backgroundform"]{
    background:#FFFFFF;
}



QWidget[form="bottom"]{
background:#EEF0FF;
}

QWidget[form="bottom"] .QFrame{
border:1px solid #000;
}

QWidget[form="bottom"] QLabel,QWidget[form="title"] QLabel{
border-radius:0px;
color:#000;
background:none;
border-style:none;
}

QWidget[form="title"],QWidget[nav="left"],QWidget[nav="top"] QAbstractButton{
border-style:none;
border-radius:0px;
padding:5px;
color:#000;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DFE9FF,stop:1 #E8F4FF);
}

QWidget[form="leftMenuBar"] {
    background: #292D33;
    border-radius: 3px;
}


QWidget[nav="top"] QAbstractButton:hover,QWidget[nav="top"] QAbstractButton:pressed,QWidget[nav="top"] QAbstractButton:checked{
border-style:solid;
border-width:0px 0px 2px 0px;
padding:4px 4px 2px 4px;
border-color:#00BB9E;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #FAFAFF);
}

QWidget[nav="left"] QAbstractButton{
border-radius:0px;
color:#000;
background:none;
border-style:none;
}

QWidget[nav="left"] QAbstractButton:hover{
color:#FFFFFF;
background-color:#00BB9E;
}

QWidget[nav="left"] QAbstractButton:checked,QWidget[nav="left"] QAbstractButton:pressed{
color:#000;
border-style:solid;
border-width:0px 0px 0px 2px;
padding:4px 4px 4px 2px;
border-color:#00BB9E;
background-color:#F3F3F3 ;
}

QWidget[video="true"] QLabel{
color:#000;
border:1px solid #FEFEFE;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #EEF0FF,stop:1 #F0FEF6);
}

QWidget[video="true"] QLabel:focus{
border:1px solid #00BB9E;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #FAFAFF);
}

QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{
border:1px solid #1c1c1c;   /* 淡灰边框 */
border-radius:3px;
padding:2px;
background:#F3F3F3;
selection-background-color:#EEF0FF;
selection-color:#000;
}

QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QSpinBox:focus,QDoubleSpinBox:focus,QComboBox:focus,QDateEdit:focus,QTimeEdit:focus,QDateTimeEdit:focus{
border:1px solid #008CFF;
background:#F2F9FF;
}

QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QSpinBox:hover,QDoubleSpinBox:hover,QComboBox:hover,QDateEdit:hover,QTimeEdit:hover,QDateTimeEdit:hover{
border:1px solid #008CFF;
background:#F2F9FF;
}

QLineEdit[echoMode="2"]{
lineedit-password-character:9679;
}

.QFrame{
border:1px solid #FEFEFE;
border-radius:3px;
}

.QGroupBox{
border-radius:5px;
margin-top:3ex;
}

.QGroupBox::title{
subcontrol-origin:margin;
position:relative;
left:10px;
}

.QPushButton,.QToolButton{
border: 1px solid #000000;  
color:#4B4B4B ;
padding:4px;
border-radius: 2px;   
background:#EFEFEF;     
}

.QPushButton:hover,.QToolButton:hover{
border: 1px solid #008CFF;  
color:#008CFF;
padding:2px;
border-radius: 2px;   
background:#F2F9FF;     
}

.QPushButton:pressed,.QToolButton:pressed{
border: 1px solid #0052D9;  
color:#0052D9;
padding:2px;
border-radius: 2px;   
background:#F2F9FF; 
}

.QPushButton:checked,.QToolButton:checked {
border: 1px solid #0052D9;  
color:#0052D9;
padding:2px;
border-radius: 2px;   
background:#F2F9FF; 
}

.QToolButton::menu-indicator{
image:None;
}

QToolButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{
border-radius:3px;
color:#000;
padding:3px;
margin:0px;
background:none;
border-style:none;
}

QToolButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{
color:#FFFFFF;
margin:1px 1px 2px 1px;
background-color:rgba(51,127,209,230);
}

QPushButton#btnMenu_Close:hover{
color:#FFFFFF;
margin:1px 1px 2px 1px;
background-color:rgba(238,0,0,128);
}
/*
QRadioButton::indicator{
width:15px;
height:15px;
}

QRadioButton::indicator::unchecked{
image:url(:/qss/projectblue/radiobutton_unchecked.png);
}

QRadioButton::indicator::unchecked:disabled{
image:url(:/qss/projectblue/radiobutton_unchecked_disable.png);
}

QRadioButton::indicator::checked{
image:url(:/qss/projectblue/radiobutton_checked.png);
}

QRadioButton::indicator::checked:disabled{
image:url(:/qss/projectblue/radiobutton_checked_disable.png);
}*/

QGroupBox::indicator,QTreeWidget::indicator,QListWidget::indicator{
padding:0px -3px 0px 3px;
}

QGroupBox::indicator,QTreeWidget::indicator,QListWidget::indicator{
width:13px;
height:13px;
}

QGroupBox::indicator:unchecked,QTreeWidget::indicator:unchecked,QListWidget::indicator:unchecked{
image:url(:/qss/projectblue/checkbox_unchecked.png);
}

QGroupBox::indicator:unchecked:disabled,QTreeWidget::indicator:unchecked:disabled,QListWidget::indicator:disabled{
image:url(:/qss/projectblue/checkbox_unchecked_disable.png);
}

QGroupBox::indicator:checked,QTreeWidget::indicator:checked,QListWidget::indicator:checked{
image:url(:/qss/projectblue/checkbox_checked.png);
}

QGroupBox::indicator:checked:disabled,QTreeWidget::indicator:checked:disabled,QListWidget::indicator:checked:disabled{
image:url(:/qss/projectblue/checkbox_checked_disable.png);
}

QGroupBox::indicator:indeterminate,QTreeWidget::indicator:indeterminate,QListWidget::indicator:indeterminate{
image:url(:/qss/projectblue/checkbox_parcial.png);
}

QGroupBox::indicator:indeterminate:disabled,QTreeWidget::indicator:indeterminate:disabled,QListWidget::indicator:indeterminate:disabled{
image:url(:/qss/projectblue/checkbox_parcial_disable.png);
}

QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
image:url(:/qss/projectblue/add_top.png);
width:10px;
height:10px;
padding:2px 5px 0px 0px;
}

QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
image:url(:/qss/projectblue/add_bottom.png);
width:10px;
height:10px;
padding:0px 5px 2px 0px;
}

QTimeEdit::up-button:pressed,QDateEdit::up-button:pressed,QDateTimeEdit::up-button:pressed,QDoubleSpinBox::up-button:pressed,QSpinBox::up-button:pressed{
top:-2px;
}
  
QTimeEdit::down-button:pressed,QDateEdit::down-button:pressed,QDateTimeEdit::down-button:pressed,QDoubleSpinBox::down-button:pressed,QSpinBox::down-button:pressed,QSpinBox::down-button:pressed{
bottom:-2px;
}
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
image:url(:/qss/projectblue/add_bottom.png);
width:15px;
height:15px;
alignment:center;
}

QComboBox::drop-down,QDateEdit::drop-down,QTimeEdit::drop-down,QDateTimeEdit::drop-down{
subcontrol-origin:padding;
subcontrol-position:top right;
width:24px;
border-left-width:0px;
border-top-right-radius:3px;
border-bottom-right-radius:3px;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #EFEFEF,stop:1 #E0E0E0);
}

QComboBox::drop-down:on{
top:1px;
}

QComboBox QAbstractItemView{
border:1px solid #1c1c1c;
border-radius:3px;
background:#FFFFFF;
selection-background-color:#F2F9FF;
selection-color:#0052D9;
outline:0px;
}

QComboBox QAbstractItemView::item{
min-height:24px;
padding:2px 5px;
}

QComboBox QAbstractItemView::item:hover{
background:#F2F9FF;
color:#008CFF;
}

QComboBox QAbstractItemView::item:selected{
background:#F2F9FF;
color:#0052D9;
}

QMenuBar::item{
color:#000;
background-color:#EEF0FF;
margin:0px;
padding:3px 10px;
}

QMenu,QMenuBar,QMenu:disabled,QMenuBar:disabled{
color:#000;
background-color:#EEF0FF;
border:1px solid #FEFEFE;
margin:0px;
}

QMenu::item{
padding:3px 20px;
}

QMenu::indicator{
width:13px;
height:13px;
}

QMenu::item:selected,QMenuBar::item:selected{
color:#000;
border:0px solid #FEFEFE;
background:#F2F9FF;
}

QMenu::separator{
height:1px;
background:#FEFEFE;
}

QProgressBar{
min-height:10px;
background:#EEF0FF;
border-radius:5px;
text-align:center;
border:1px solid #EEF0FF;
}

QProgressBar:chunk{
border-radius:5px;
background-color:#FEFEFE;
}

QSlider::groove:horizontal{
background:#EEF0FF;
height:8px;
border-radius:4px;
}

QSlider::add-page:horizontal{
background:#EEF0FF;
height:8px;
border-radius:4px;
}

QSlider::sub-page:horizontal{
background:#008CFF;
height:8px;
border-radius:4px;
}

QSlider::handle:horizontal{
    width: 16px;
    height: 16px;
    margin: -4px 0;
    border-radius: 8px;

    /* 白心 → 蓝球 */
    background: qradialgradient(
        spread:pad,
        cx:0.5, cy:0.5, radius:0.5,
        fx:0.5, fy:0.5,
        stop:0.3 #FFFFFF,      /* 30% 处纯白 */
        stop:0.8 #2196F3,      /* 80% 处纯蓝 */
        stop:1   #0D47A1       /* 边缘深蓝 */
    );

    border: 1px solid #1976D2;   /* 外描边 */
}

/* ===== 竖向 ===== */
QSlider::groove:vertical{
    background:#008CFF;
    width:4px;          /* 竖向轨道变细 */
    border-radius:2px;
}

QSlider::add-page:vertical{
    background:#008CFF;
    width:4px;
    border-radius:2px;
}

QSlider::sub-page:vertical{
    background:#EEF0FF;
    width:4px;
    border-radius:2px;
}

QSlider::handle:vertical{
    width: 10px;        /* 球直径 10 */
    height:10px;
    margin:0 -3px;     /* 左右负边距，让球水平居中 */
    border-radius:5px;

    background: qradialgradient(
        spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
        stop:0.3 #FFFFFF,
        stop:0.8 #2196F3,
        stop:1   #0D47A1
    );
    border: 1px solid #1976D2;
}

QScrollBar:horizontal{
background:#9d9d9d;
padding:0px;
border-radius:6px;
max-height:12px;
}

QScrollBar::handle:horizontal{
background:#9d9d9d;
min-width:50px;
border-radius:6px;
}

QScrollBar::handle:horizontal:hover{
background:#0052D9;
}

QScrollBar::handle:horizontal:pressed{
background:#008CFF;
}

QScrollBar::add-page:horizontal{
background:none;
}

QScrollBar::sub-page:horizontal{
background:none;
}

QScrollBar::add-line:horizontal{
background:none;
}

QScrollBar::sub-line:horizontal{
background:none;
}

QScrollBar:vertical{
background:#9d9d9d;
padding:0px;
border-radius:6px;
max-width:12px;
}

QScrollBar::handle:vertical{
background:#9d9d9d;
min-height:50px;
border-radius:6px;
}

QScrollBar::handle:vertical:hover{
background:#0052D9;
}

QScrollBar::handle:vertical:pressed{
background:#008CFF;
}

QScrollBar::add-page:vertical{
background:none;
}

QScrollBar::sub-page:vertical{
background:none;
}

QScrollBar::add-line:vertical{
background:none;
}

QScrollBar::sub-line:vertical{
background:none;
}

QScrollArea{
border:0px;
}

QTreeView,QListView,QTableView,QTabWidget::pane{
border:1px solid #FEFEFE;
selection-background-color:#F2F9FF;
selection-color:#000;
alternate-background-color:#FAFAFF;
gridline-color:#FEFEFE;
}

QTreeView::branch:closed:has-children{
margin:4px;
border-image:url(:/qss/projectblue/branch_open.png);
}

QTreeView::branch:open:has-children{
margin:4px;
border-image:url(:/qss/projectblue/branch_close.png);
}

QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
background:#F3F3F3 ;
}

QTableView::item:selected,QListView::item:selected,QTreeView::item:selected{
color:#000;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #EEF0FF,stop:1 #F0FEF6);
}

QTableView::item:hover,QListView::item:hover,QTreeView::item:hover{
color:#000;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #FAFAFF);
}

QTableView::item,QListView::item,QTreeView::item{
padding:1px;
margin:0px;
}

QHeaderView::section,QTableCornerButton:section{
padding:3px;
margin:0px;
color:#000;
border:1px solid #FEFEFE;
border-left-width:0px;
border-right-width:1px;
border-top-width:0px;
border-bottom-width:1px;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #FAFAFF);
}

QTabBar::tab{
border:1px solid #D0D0D0;
border-radius:4px 4px 0px 0px;
color:#333;
margin:0px 1px;
padding:4px 12px;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #FFFFFF,stop:1 #F0F5FF);
font-weight:500;
}

QTabBar::tab:selected,QTabBar::tab:hover{
border-style:solid;
border-color:#008CFF;
border-bottom-color:#FFFFFF;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #FFFFFF,stop:1 #EEF0FF);
color:#0052D9;
}

QTabBar::tab:top{
padding:4px 12px;
}

QTabBar::tab:left{
padding:8px 3px;
}

QTabBar::tab:top:selected{
border-width:2px 2px 0px 2px;
}

QTabBar::tab:right:selected{
border-width:2px 0px 2px 2px;
}

QTabBar::tab:bottom:selected{
border-width:0px 2px 2px 2px;
}

QTabBar::tab:left:selected{
border-width:2px 2px 2px 0px;
}

QTabBar::tab:first:top:selected,QTabBar::tab:first:top:hover,QTabBar::tab:first:bottom:selected,QTabBar::tab:first:bottom:hover{
border-left-width:1px;
border-left-color:#FEFEFE;
}

QTabBar::tab:first:left:selected,QTabBar::tab:first:left:hover,QTabBar::tab:first:right:selected,QTabBar::tab:first:right:hover{
border-top-width:1px;
border-top-color:#FEFEFE;
}

QTabBar::tab:last:top:selected,QTabBar::tab:last:top:hover,QTabBar::tab:last:bottom:selected,QTabBar::tab:last:bottom:hover{
border-right-width:1px;
border-right-color:#FEFEFE;
}

QTabBar::tab:last:left:selected,QTabBar::tab:last:left:hover,QTabBar::tab:last:right:selected,QTabBar::tab:last:right:hover{
border-bottom-width:1px;
border-bottom-color:#FEFEFE;
}

QStatusBar::item{
border:0px solid #EEF0FF;
border-radius:3px;
}

QToolBox::tab{
padding:3px;
border-radius:4px;
color:#333;
border:1px solid #D0D0D0;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #FFFFFF,stop:1 #F0F5FF);
font-weight:500;
}

QToolTip{
border:0px solid #000;
padding:1px;
color:#000;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #EEF0FF,stop:1 #F0FEF6);
}

QToolBox::tab:selected{
border:1px solid #008CFF;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #FFFFFF,stop:1 #EEF0FF);
color:#0052D9;
font-weight:600;
}

QPrintPreviewDialog QToolButton{
border:0px solid #000;
border-radius:0px;
margin:0px;
padding:3px;
background:none;
}

QColorDialog QPushButton,QFileDialog QPushButton{
min-width:80px;
}

QToolButton#qt_calendar_prevmonth{
icon-size:0px;
min-width:20px;
image:url(:/qss/projectblue/calendar_prevmonth.png);
}

QToolButton#qt_calendar_nextmonth{
icon-size:0px;
min-width:20px;
image:url(:/qss/projectblue/calendar_nextmonth.png);
}

QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
border:0px solid #000;
border-radius:3px;
margin:3px 3px 3px 3px;
padding:3px;
background:none;
}

QToolButton#qt_calendar_prevmonth:hover,QToolButton#qt_calendar_nextmonth:hover,QToolButton#qt_calendar_monthbutton:hover,QToolButton#qt_calendar_yearbutton:hover,QToolButton#qt_calendar_prevmonth:pressed,QToolButton#qt_calendar_nextmonth:pressed,QToolButton#qt_calendar_monthbutton:pressed,QToolButton#qt_calendar_yearbutton:pressed{
border:1px solid #FEFEFE;
}

QCalendarWidget QSpinBox#qt_calendar_yearedit{
margin:2px;
}

QCalendarWidget QToolButton::menu-indicator{
image:None;
}

QCalendarWidget QTableView{
border-width:0px;
}

QCalendarWidget QWidget#qt_calendar_navigationbar{
border:1px solid #FEFEFE;
border-width:1px 1px 0px 1px;
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #EEF0FF,stop:1 #F0FEF6);
}
/*
QComboBox QAbstractItemView::item{
min-height:20px;
min-width:10px;
}*/

QTableView[model="true"]::item{
padding:0px;
margin:0px;
}

/*QTableView QLineEdit,QTableView QComboBox,QTableView QSpinBox,QTableView QDoubleSpinBox,QTableView QDateEdit,QTableView QTimeEdit,QTableView QDateTimeEdit{
border-width:0px;
border-radius:0px;
}

QTableView QLineEdit:focus,QTableView QComboBox:focus,QTableView QSpinBox:focus,QTableView QDoubleSpinBox:focus,QTableView QDateEdit:focus,QTableView QTimeEdit:focus,QTableView QDateTimeEdit:focus{
border-width:0px;
border-radius:0px;
}

QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{
    background:#F3F3F3;
    border:1px solid #1c1c1c;   
    border-radius:3px;
    padding:2px 6px;            
}*/

*:disabled{
background:#F3F3F3 ;
border-color:#EEF0FF;
}

/* SystemPreferencesDialog */
SystemPreferencesDialog
{
    background-color: #F3F3F3;  /* 背景颜色 */
    font-size: 32px;
}

SystemPreferencesDialog .QStackedWidget#stackedWidget
{
    background-color: #FEFEFE;  /* 背景颜色 */
    font-size: 32px;
}
SystemPreferencesDialog >.QLabel#label_2{
    image: url(:/res/MainWindow/pushButton_systemPerferences.png);
    font-size: 16px;
}

/*系统首选项*/
SystemPreferencesDialog .QLabel#labelSystemSelect{
    font-weight: 600;
    color: #000000;
}


/* MainWindow */
MainWindow {
    font-size: 24px;
}
MainWindow .QWidget#widget_title {
    background-color: #FFFFFF;
}
MainWindow .QWidget#left_widget .QPushButton {
    padding:5px;
}
MainWindow .QWidget#left_widget .QPushButton:hover, MainWindow .QWidget#left_widget .QPushButton:pressed{
    background-color: #0052D9;
}
MainWindow .QPushButton#pushButton_home{
    image: url(:/res/MainWindow/pushButton_home.png);
}
MainWindow .QPushButton#pushButton_home:checked{
    image: url(:/res/MainWindow/pushButton_home_checked.png);
}

MainWindow .QPushButton#pushButton_more{
    image: url(:/res/MainWindow/pushButton_more.png);
}

MainWindow .QPushButton#pushButton_calibrationCorrection{
    image: url(:/res/MainWindow/pushButton_calibrationCorrection.png);
}
MainWindow .QPushButton#pushButton_calibrationCorrection:checked{
    image: url(:/res/MainWindow/pushButton_calibrationCorrection_checked.png);
}

MainWindow .QPushButton#pushButton_systemPerferences{
    image: url(:/res/MainWindow/pushButton_systemPerferences.png);
}

MainWindow .QPushButton#pushButton_diagnosis{
    image: url(:/res/MainWindow/pushButton_diagnosis.png);
}

MainWindow .QPushButton#pushButton_help{
    image: url(:/res/MainWindow/pushButton_help.png);
}

MainWindow .QPushButton#pushButton_systemState{
    image: url(:/res/MainWindow/pushButton_systemState.png);
}

MainWindow .QPushButton#pushButton_systemState:checked{
    image: url(:/res/MainWindow/pushButton_systemState_ok.png);
}

HomeForm .QLabel#image_label
{
    border: none;
    border-image: url(:/res/background.png);
    background-repeat: no-repeat;
}

ObjectiveChooseForm .QPushButton#pushButton_autoLightIntensity{
    image: url(:/res/ObjectiveChooseForm/pushButton_autoLightIntensity.png);    
    border: 1px solid #000000;  
    color:#4B4B4B ;
    padding:4px;
    border-radius: 2px;   
    background:#EFEFEF;     
}

ObjectiveChooseForm .QPushButton#pushButton_autoLightIntensity:hover{
    border: 1px solid #008CFF;  
    color:#008CFF;
    padding:2px;
    border-radius: 2px;   
    background:#F2F9FF;     
}

ObjectiveChooseForm .QPushButton#pushButton_autoLightIntensity:pressed{
    border: 1px solid #0052D9;  
    color:#0052D9;
    padding:2px;
    border-radius: 2px;   
    background:#F2F9FF; 
}

ObjectiveChooseForm .QPushButton#pushButton_autoLightIntensity:checked{
    border: 1px solid #0052D9;  
    color:#0052D9;
    padding:2px;
    border-radius: 2px;   
    background:#F2F9FF; 
}

ObjectiveChooseForm .QPushButton#pushButton_automaticFocusing{
    image: url(:/res/ObjectiveChooseForm/pushButton_automaticFocusing.png);
    border: 1px solid #000000;  
    color:#4B4B4B ;
    padding:4px;
    border-radius: 2px;   
    background:#EFEFEF;     
}

ObjectiveChooseForm .QPushButton#pushButton_automaticFocusing:hover{
    border: 1px solid #008CFF;  
    color:#008CFF;
    padding:2px;
    border-radius: 2px;   
    background:#F2F9FF;     
}

ObjectiveChooseForm .QPushButton#pushButton_automaticFocusing:pressed{
    border: 1px solid #0052D9;  
    color:#0052D9;
    padding:2px;
    border-radius: 2px;   
    background:#F2F9FF; 
}

ObjectiveChooseForm .QPushButton#pushButton_automaticFocusing:checked{
    border: 1px solid #0052D9;  
    color:#0052D9;
    padding:2px;
    border-radius: 2px;   
    background:#F2F9FF; 
}

ColorCorrectionForm .QLabel#label_imageDefaultNew[model="defalut"]
{
    border: none;
    border-image: url(:/res/ColorCorrectionForm/label_default.png);
    background-repeat: no-repeat;
    background-position: center;
}

ColorCorrectionForm .QLabel#label_imageDefaultNew[model="new"]
{
    border: none;
    border-image: url(:/res/ColorCorrectionForm/label_new.png);
    background-repeat: no-repeat;
    background-position: center;
}

ControlForm[form="backgroundform"] {
    background: #F0F0F0;
}

ControlForm .QWidget[form="whitepanel"] {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
}

ControlForm .QPushButton{
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
}

ControlForm .QPushButton#pushButton_savePos1{
    image: url(:/res/ControlForm/savePos.png);
}
ControlForm .QPushButton#pushButton_savePos1:checked{
    image: url(:/res/ControlForm/savePos_checked.png);
}

ControlForm .QPushButton#pushButton_savePos2{
    image: url(:/res/ControlForm/savePos.png);
}
ControlForm .QPushButton#pushButton_savePos2:checked{
    image: url(:/res/ControlForm/savePos_checked.png);
}

ControlForm .QPushButton#pushButton_savePos3{
    image: url(:/res/ControlForm/savePos.png);
}
ControlForm .QPushButton#pushButton_savePos3:checked{
    image: url(:/res/ControlForm/savePos_checked.png);
}

ControlForm .QPushButton#pushButton_minusXYSpeed{
    image: url(:/res/ControlForm/pushButton_minusSpeed.png);
}

ControlForm .QPushButton#pushButton_minusXYSpeed:hover{
    image: url(:/res/ControlForm/pushButton_minusSpeed_hover.png);
}

ControlForm .QPushButton#pushButton_addXYSpeed{
    image: url(:/res/ControlForm/pushButton_addSpeed.png);
}

ControlForm .QPushButton#pushButton_addXYSpeed:hover{
    image: url(:/res/ControlForm/pushButton_addSpeed_hover.png);
}

ControlForm .QPushButton#pushButton_minusZSpeed{
    image: url(:/res/ControlForm/pushButton_minusSpeed.png);
}

ControlForm .QPushButton#pushButton_minusZSpeed:hover{
    image: url(:/res/ControlForm/pushButton_minusSpeed_hover.png);
}

ControlForm .QPushButton#pushButton_addZSpeed{
    image: url(:/res/ControlForm/pushButton_addSpeed.png);
}

ControlForm .QPushButton#pushButton_addZSpeed:hover{
    image: url(:/res/ControlForm/pushButton_addSpeed_hover.png);
}

ControlForm .QPushButton#pushButton_addZPos{
    image: url(:/res/ControlForm/pushButton_addZPos.png);
}

ControlForm .QPushButton#pushButton_minusZPos{
    image: url(:/res/ControlForm/pushButton_minusZPos.png);
}

ControlForm .QPushButton#pushButton_relativeMove{
    image: url(:/res/ControlForm/pushButton_relativeMove.png);
}
ControlForm .QPushButton#pushButton_relativeMove:checked{
    image: url(:/res/ControlForm/pushButton_relativeMove_checked.png);
}

ControlForm .QPushButton#pushButton_moveToAbsolutePos{
    image: url(:/res/ControlForm/pushButton_moveToAbsolutePos.png);
}
ControlForm .QPushButton#pushButton_moveToAbsolutePos:checked{
    image: url(:/res/ControlForm/pushButton_moveToAbsolutePos_checked.png);
}

ControlForm .QPushButton#pushButton_repositionToTheReferencePoint{
    image: url(:/res/ControlForm/pushButton_repositionToTheReferencePoint.png);
}
ControlForm .QPushButton#pushButton_repositionToTheReferencePoint:checked{
    image: url(:/res/ControlForm/pushButton_repositionToTheReferencePoint_checked.png);
}

ControlForm .QPushButton#pushButton_execute{
    image: url(:/res/ControlForm/pushButton_execute.png);
}

ControlForm .QPushButton#pushButton_execute:hover{
    image: url(:/res/ControlForm/pushButton_execute_hover.png);
}

ControlForm .QPushButton#pushButton_lockx{
    image: url(:/res/ControlForm/unlock.png);
}

ControlForm .QPushButton#pushButton_lockx:checked{
    image: url(:/res/ControlForm/lock.png);
}

ControlForm .QPushButton#pushButton_locky{
    image: url(:/res/ControlForm/unlock.png);
}

ControlForm .QPushButton#pushButton_locky:checked{
    image: url(:/res/ControlForm/lock.png);
}

ControlForm .QPushButton#pushButton_lockz{
    image: url(:/res/ControlForm/unlock.png);
}

ControlForm .QPushButton#pushButton_lockz:checked{
    image: url(:/res/ControlForm/lock.png);
}


ControlForm .QLabel[model="level0"]
{
    border: none;
    border-image: url(:/res/ControlForm/label_level0.png);
    background-repeat: no-repeat;
    background-position: center;
}

ControlForm .QLabel[model="level1"]
{
    border: none;
    border-image: url(:/res/ControlForm/label_level1.png);
    background-repeat: no-repeat;
    background-position: center;
}

ControlForm .QLabel[model="level2"]
{
    border: none;
    border-image: url(:/res/ControlForm/label_level2.png);
    background-repeat: no-repeat;
    background-position: center;
}

ControlForm .QLabel[model="level3"]
{
    border: none;
    border-image: url(:/res/ControlForm/label_level3.png);
    background-repeat: no-repeat;
    background-position: center;
}

LightControlForm .QPushButton#pushButton_restoreDefaultGain{
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    image: url(:/res/LightControlForm/pushButton_restore.png);
}

LightControlForm .QPushButton#pushButton_restoreDefaultGamma{
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    image: url(:/res/LightControlForm/pushButton_restore.png);
}

LightControlForm .QPushButton#pushButton_restoreDefaultGainImage{
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    image: url(:/res/LightControlForm/pushButton_restore.png);
}

LeftBorderForm[form="leftType0"] 
{
    background: #0052D9;
    border-radius: 3px;
}

LeftBorderForm[form="leftType1"] 
{
    background: #7D2BA4;
    border-radius: 3px;
}

LeftBorderForm[form="leftType2"] 
{
    background: #2BA471;
    border-radius: 3px;
}

LeftBorderForm[form="leftType3"] 
{
    background: #F8B658;
    border-radius: 3px;
}

LeftBorderForm .QLabel#label_icon[form="analysis"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/analysis.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="area"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/area.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="autoFocus"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/autoFocus.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="lightSettings"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/lightSettings.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="measurement"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/measurement.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="objective"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/objective.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="processing"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/processing.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="threshold"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/threshold.png);
    background-repeat: no-repeat;
    background-position: center;
}
LeftBorderForm .QLabel#label_icon[form="zScan"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/zScan.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="halationform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/halationform.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="lightbalanceform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/lightbalanceform.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="lightsettingform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/lightsettingform.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="microdisplayform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/microdisplayform.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="objectiveform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/objectiveform.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="picturefilterform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/picturefilterform.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="slitpositionform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/slitpositionform.png);
    background-repeat: no-repeat;
    background-position: center;
}

LeftBorderForm .QLabel#label_icon[form="xyzform"]
{
    border: none;
    border-image: url(:/res/LeftBorderForm/xyzform.png);
    background-repeat: no-repeat;
    background-position: center;
}

HomeForm .QPushButton{
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
}

/*HomeForm QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit
{
    border:1px solid #1c1c1c;   
    border-radius:3px;
    padding:2px;
    background:none;
    selection-background-color:#EEF0FF;
    selection-color:#000;
}*/

/*HomeForm QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QSpinBox:focus,QDoubleSpinBox:focus,QComboBox:focus,QDateEdit:focus,QTimeEdit:focus,QDateTimeEdit:focus,QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QSpinBox:hover,QDoubleSpinBox:hover,QComboBox:hover,QDateEdit:hover,QTimeEdit:hover,QDateTimeEdit:hover
{
border:1px solid #008CFF;
}*/

HomeForm .QPushButton#pushButton_confocal{
    image: url(:/res/HomeForm/pushButton_confocal.png);
}

HomeForm .QPushButton#pushButton_confocal:checked{
    image: url(:/res/HomeForm/pushButton_confocal_checked.png);
}

HomeForm .QPushButton#pushButton_fringe{
    image: url(:/res/HomeForm/pushButton_fringe.png);
}

HomeForm .QPushButton#pushButton_fringe:checked{
    image: url(:/res/HomeForm/pushButton_fringe_checked.png);
}

HomeForm .QPushButton#pushButton_multifocal{
    image: url(:/res/HomeForm/pushButton_multifocal.png);
}

HomeForm .QPushButton#pushButton_multifocal:checked{
    image: url(:/res/HomeForm/pushButton_multifocal_checked.png);
}
HomeForm .QWidget#widget_left{
    border: 2px solid red;
}

AreaForm .QLabel
{
    border: none;
    background-repeat: no-repeat;
    background-position: center;
}
AreaForm .QLabel#label_imageArea{
    border-image: url(:/res/AreaForm/label_imageArea.png);
}

AreaForm .QLabel#label_imageDpiUnit{
    border-image: url(:/res/AreaForm/label_imageDpiUnit.png);
}

AreaForm .QLabel#label_imageDpi{
    border-image: url(:/res/AreaForm/label_imageDpi.png);
}

AreaForm .QLabel#label_imageFactor{
    border-image: url(:/res/AreaForm/label_imageFactor.png);
}



ZScanForm QLabel,
ZScanForm QPushButton 
{
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
}

ZScanForm .QLabel#label_imageContinuousScanning{
    border-image: url(:/res/ZScanForm/label_imageContinuousScanning.png);
}

ZScanForm QPushButton#pushButton_tRange,
ZScanForm QPushButton#pushButton_bRange,
ZScanForm QPushButton#pushButton_range
{
    image: url(:/res/ZScanForm/pushButton_range.png);
}

ZScanForm QPushButton#pushButton_tRange:checked,
ZScanForm QPushButton#pushButton_bRange:checked,
ZScanForm QPushButton#pushButton_rangessss:checked
{
    image: url(:/res/ZScanForm/pushButton_range_checked.png);
}

QGroupBox::title {
    subcontrol-origin: margin;
    subcontrol-position: top left;
    padding: 0;
}

MultipleButtonForm QPushButton 
{
    border-style:none;
    color:transparent;
    background:transparent;
    padding: 0px;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
}

MultipleButtonForm QLabel#label_5Mp
{
    font-size: 16px;
}

MultipleButtonForm QPushButton#pushButton_level1
{
    image: url(:/res/MultipleButtonForm/pushButton_level1.png);
}
MultipleButtonForm QPushButton#pushButton_level1:checked
{
    image: url(:/res/MultipleButtonForm/pushButton_level1_checked.png);
}
MultipleButtonForm QPushButton#pushButton_level2
{
    image: url(:/res/MultipleButtonForm/pushButton_level2.png);
}
MultipleButtonForm QPushButton#pushButton_level2:checked
{
    image: url(:/res/MultipleButtonForm/pushButton_level2_checked.png);
}
MultipleButtonForm QPushButton#pushButton_level3
{
    image: url(:/res/MultipleButtonForm/pushButton_level3.png);
}
MultipleButtonForm QPushButton#pushButton_level3:checked
{
    image: url(:/res/MultipleButtonForm/pushButton_level3_checked.png);
}

ProcessingForm QToolButton#toolButton_leveling
{
    qproperty-icon: url(:/res/ProcessingForm/toolButton_leveling.png);
    padding: 0px;
    font-size: 16px;
}
ProcessingForm QToolButton#toolButton_leveling:checked
{
    padding: 0px;
    font-size: 16px;
}
ProcessingForm QToolButton#toolButton_restore{
    qproperty-icon: url(:/res/ProcessingForm/toolButton_restore.png);
    padding: 0px;
    font-size: 16px;
}
ProcessingForm QToolButton#toolButton_restore:checked {
    padding: 0px;
    font-size: 16px;
}

AnalysisForm QToolButton#toolButton_sensorView{
    qproperty-icon: url(:/res/AnalysisForm/toolButton_sensorView.png);
    padding: 0px;
    font-size: 16px;
}

AnalysisForm QToolButton#toolButton_image{
    qproperty-icon: url(:/res/AnalysisForm/toolButton_image.png);
    padding: 0px;
    font-size: 16px;
}

AnalysisForm QToolButton#toolButton_value{
    qproperty-icon: url(:/res/AnalysisForm/toolButton_value.png);
    padding: 0px;
    font-size: 16px;
}

AnalysisForm QPushButton#pushButton_acquire{
    qproperty-icon: url(:/res/AnalysisForm/pushButton_acquire.png) center;
}


QLabel[model="green"]{
    border-image: url(:/res/CalibrationObjectiveForm/label_green.png);
}
QLabel[model="red"]{
    border-image: url(:/res/CalibrationObjectiveForm/label_red.png);
}
QLabel[model="blue"]{
    border-image: url(:/res/CalibrationObjectiveForm/label_blue.png);
}
QLabel[model="white"]:hover{
    border-image: url(:/res/CalibrationObjectiveForm/label_white.png);
}

QPushButton#pushButton_tool{
    qproperty-icon: url(:/res/CalibrationObjectiveForm/pushButton_tool.png);
}

QToolButton[button="expand"]:checked {
    image: url(:/qss/projectblue/project/unfold.png);
}

QToolButton[button="expand"] {
    image: url(:/qss/projectblue/project/fold.png);
}


QToolButton#toolButton_contractExpand:checked {
    image: url(:/qss/projectblue/project/unfold.png);
}

QToolButton#toolButton_contractExpand {
    image: url(:/qss/projectblue/project/fold.png);
}

#closeButton {
    image: url(:/res/close-button.png);
    background-color: transparent;
    border-radius: 0px;
}
  
#closeButton:hover {
	image: url(:/res/close-button2.png);
	border-style: none;
	background-color: #e81123;
}

#closeButton:pressed {
	image: url(:/res/close-button2.png);
	border-style: none;
	background-color: #8c0a15;
}


SystemPreferencesDialog .QGroupBox#groupBox .QToolButton
{
  color: #666 !important;
  font-size: 12px;
}
SystemPreferencesDialog .QGroupBox#groupBox .QToolButton:checked
{
  color: #0052D9 !important;
  font-size: 12px;
}
SystemPreferencesDialog .QHBoxLayout#horizontalLayout {
	background-color: #F3F3F3;
}
SystemPreferencesDialog .QGroupBox#groupBox {
	background-color: #F3F3F3;
}
SystemPreferencesDialog .QStackedWidget{
	background-color: #fff;
}
QWidget#GeneralForm QLabel{
	text-align: right;
}
/*TextColor:#000*/
/*PanelColor:#F3F3F3 */
/*BorderColor:#FEFEFE*/
/*NormalColorStart:#EEF0FF*/
/*NormalColorEnd:#F0FEF6*/
/*DarkColorStart:#F2F9FF*/
/*DarkColorEnd:#FAFAFF*/
/*HighColor:#00BB9E*/
